<h2>日別ログ表示</h2>

<?php
if ($Logs = Y('Module.list.AccessLog.getRaw')) {

	foreach ((array)$Logs as $Log) {
		print ('<p>'."\n");
		print (date('Y/m/d H:i:s', $Log['REQUEST_TIME'])."<br />\n");
		print ($Log['REMOTE_ADDR'].'&nbsp;-&nbsp;'."\n");
		print ($Log['REMOTE_HOST'].'&nbsp;-&nbsp;'."\n");
		print ($Log['HTTP_USER_AGENT'].'&nbsp;-&nbsp;'."\n");
		print ($Log['REQUEST_URI'].'&nbsp;-&nbsp;'."\n");
		print ($Log['HTTP_REFERER']."\n");
		print ('</p>'."\n");
	}
} else {
	print ('<p>ログがありませんでした。</p>'."\n");
}
?>